<html lang="cn" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <link rel="stylesheet" href="/styles.css">
  <link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
  <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  <title>注册 - 题海</title>
</head>
<body>
<!-- 动态背景 -->
<div class="background"></div>

<!-- 注册表单 -->
<section class="container">
  <h2>重置密码</h2>

  <!-- 错误信息 -->
  <div id="error-message" class="error-message" style="display: none;"></div>

  <!-- 注册表单 -->
  <form id="reset-form" action="/reset" method="post">
    <div class="form">
      <input type="text" id="account" name="account" placeholder="账号/手机号" required>
      <input type="password" id="newPwd" name="newPwd" placeholder="新密码" required>
      <input type="password" id="surePwd" name="surePwd" placeholder="确认密码" required>
      <!--图片验证码（未实现）-->
      <div class="form-actions">
        <a href="/login"><button type="submit" class="btn-login" >确认重置</button></a>
      </div>
    </div>
  </form>
</section>
</body>
</html>